package com.ruoyi.order.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseDTO;
import com.ruoyi.common.base.BasePageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单对象 order_info
 *
 * @author ghostmen
 * @date 2024-11-03
 */
@Data
@ApiModel(value = "OrderInfoDTO对象", description = "订单对象")
public class OrderInfoDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 订单价格
     */
    @NotNull(message = "订单价格不能为空")
    @ApiModelProperty(value = "订单价格", required = true)
    private BigDecimal orderPrice;

    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空")
    @ApiModelProperty(value = "任务id", required = true)
    private Long taskId;

    /**
     * 账号id
     */
    @NotNull(message = "任务id不能为空")
    @ApiModelProperty(value = "账号id", required = true)
    private Long accountId;

    /**
     * 报名备注
     */
    @ApiModelProperty(value = "报名备注")
    private String remark;


}
